package test

class UserService {

    static transactional = true

    def deleteAllInactiveUsersAndActiveWithLoginZupa() {
		User.findAllByActive(false).each { 
			it.delete()
		}
		
		User.findAllActive().each {
			if(it.login == 'zupa') {
				it.delete()
			}
		}
    }
}
